<template>
    <div class="Header">
        <div @click="getSystemAbout" class="logo">Thunder-OA</div>
        <div class="nav">
            <div class="float-right" style="">
                <el-button type="text" class="iconfont icon-xiaoxi" style="margin-right: 10px;margin-top: -8px;"></el-button>
                <el-avatar :size="25" src="https://oa.stgeek.cn/static/images/icon/enterprise_user.svg" style="border: 1px solid #dee2e6;margin-top: 8px;"></el-avatar>
            </div>
        </div>
    </div>
</template>


<script>
export default {
    name: "Header",
    methods: {
        getSystemAbout()
        {
            console.log('关于系统')
        }
    }
}
</script>

<style>
.Header {
    background-color: #262F3E;
    color: #fff;
    line-height: 40px;
    height: 40px;
    padding: 0 15px;
    display: flex;
    width: auto;
}
.nav {
    align-items: center;
    flex-grow: 1;
}
.nav .user-btn {
    background: unset !important;
    color: #fff;
    padding: 3px 10px !important;
    min-height: 25px;
}
</style>